//导入模块  建议先写后边的路径
import {average} from './arr-utils.js';

const scores = [
    90, 92, 86, 95, 83, 97, 99
]

//获取按钮
let btn = document.querySelector('button')

btn.onclick = function(){
    console.log('班级的平均数为' + average(scores))
}

